package com.atguigu.yygh.service;

import com.atguigu.yygh.model.hosp.Department;
import com.atguigu.yygh.vo.hosp.DepartmentVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

/**
 * @author kabuda
 * @create 2023-02-26 21:50
 */
public interface IDepartmentService {
    void saveDepartment(Map<String, Object> map);

    Page<Department> getDepartment(String hoscode, Integer page, Integer limit);

    void remove(String hoscode, String depcode);


    List<DepartmentVo> getDeptList(String hoscode);

    Department getDepartmentByCode(String hospcode, String depcode);
}
